.login_registered {
    position: fixed;
    top: 100px;
    right: 260px;
    width: 40px;
    height: 80px;
    border: 1px solid lightgray;
}
.login, .registered {
    font-size: 14px;
    width: 100%;
    height: 40px;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
}
.login:hover, .registered:hover {
    color: gray;
}
.login {
    border-bottom: 1px solid lightgray;
}
.commodity {
    position: absolute;
}
/*轮播图*/
.demonstration {
    color: var(--el-text-color-secondary);
}

.el-carousel__item h3 {
    color: #475669;
    opacity: 0.75;
    line-height: 150px;
    margin: 0;
    text-align: center;
}

.el-carousel__item:nth-child(2n) {
    background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n + 1) {
    background-color: #d3dce6;
}
/*商品*/
/**
包裹商品最外层的
 */
.food_div {
    width: 1200px;
    height: auto;
    border: 0 solid red;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}

.on_by_one {
    width: 1200px;
    /*height: 240px;*/
    height: inherit;
    border: 1px solid lightgray;
}
/**
每一个商品
 */
.food {
    width: 200px;
    height: 240px;
    border: 1px solid lightgray;
    float: left;
    margin-left: 140px;
    position: relative;
    margin-top: 20px;
}

.food:hover {
    cursor: pointer;
    opacity: 0.8;
}

.food_img {
    position: absolute;
    top: 0;
    width: 200px;
    height: 200px;
}

.food_detail {
    position: absolute;
    bottom: 0;
    width: 200px;
    height: 40px;
}

.food_name {
    width: 100%;
    height: 20px;
    text-align: center;
}

.food_price {
    width: 100%;
    height: 20px;
    text-align: center;
}